<?php /* Smarty version 2.6.20, created on 2011-12-03 16:42:36
         compiled from C:%5CD%5CMarocMall/themes/prestashop/./product-list.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'C:\\D\\MarocMall/themes/prestashop/./product-list.tpl', 33, false),array('modifier', 'truncate', 'C:\\D\\MarocMall/themes/prestashop/./product-list.tpl', 34, false),array('modifier', 'strip_tags', 'C:\\D\\MarocMall/themes/prestashop/./product-list.tpl', 35, false),array('modifier', 'intval', 'C:\\D\\MarocMall/themes/prestashop/./product-list.tpl', 49, false),array('function', 'l', 'C:\\D\\MarocMall/themes/prestashop/./product-list.tpl', 34, false),array('function', 'convertPrice', 'C:\\D\\MarocMall/themes/prestashop/./product-list.tpl', 43, false),)), $this); ?>

<?php if (isset ( $this->_tpl_vars['products'] )): ?>
	<!-- Products list -->
	<ul id="product_list" class="clear">
	<?php $_from = $this->_tpl_vars['products']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['products'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['products']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['product']):
        $this->_foreach['products']['iteration']++;
?>
		<li class="ajax_block_product <?php if (($this->_foreach['products']['iteration'] <= 1)): ?>first_item<?php elseif (($this->_foreach['products']['iteration'] == $this->_foreach['products']['total'])): ?>last_item<?php endif; ?> <?php if (($this->_foreach['products']['iteration']-1) % 2): ?>alternate_item<?php else: ?>item<?php endif; ?> clearfix">
			<div class="center_block">
				<a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['link'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
" class="product_img_link" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
"><img src="<?php echo $this->_tpl_vars['link']->getImageLink($this->_tpl_vars['product']['link_rewrite'],$this->_tpl_vars['product']['id_image'],'home'); ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['legend'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
" <?php if (isset ( $this->_tpl_vars['homeSize'] )): ?> width="<?php echo $this->_tpl_vars['homeSize']['width']; ?>
" height="<?php echo $this->_tpl_vars['homeSize']['height']; ?>
"<?php endif; ?> /></a>
				<h3><?php if (isset ( $this->_tpl_vars['product']['new'] ) && $this->_tpl_vars['product']['new'] == 1): ?><span class="new"><?php echo smartyTranslate(array('s' => 'New'), $this);?>
</span><?php endif; ?><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['link'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['product']['name'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 35, '...') : smarty_modifier_truncate($_tmp, 35, '...')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
</a></h3>
				<p class="product_desc"><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['link'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
" title="<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['product']['description_short'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 360, '...') : smarty_modifier_truncate($_tmp, 360, '...')))) ? $this->_run_mod_handler('strip_tags', true, $_tmp, 'UTF-8') : smarty_modifier_strip_tags($_tmp, 'UTF-8')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['product']['description_short'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 360, '...') : smarty_modifier_truncate($_tmp, 360, '...')))) ? $this->_run_mod_handler('strip_tags', true, $_tmp, 'UTF-8') : smarty_modifier_strip_tags($_tmp, 'UTF-8')); ?>
</a></p>
			</div>																				 
			<div class="right_block">
				<?php if (isset ( $this->_tpl_vars['product']['on_sale'] ) && $this->_tpl_vars['product']['on_sale'] && isset ( $this->_tpl_vars['product']['show_price'] ) && $this->_tpl_vars['product']['show_price'] && ! $this->_tpl_vars['PS_CATALOG_MODE']): ?><span class="on_sale"><?php echo smartyTranslate(array('s' => 'On sale!'), $this);?>
</span>
				<?php elseif (isset ( $this->_tpl_vars['product']['reduction'] ) && $this->_tpl_vars['product']['reduction'] && isset ( $this->_tpl_vars['product']['show_price'] ) && $this->_tpl_vars['product']['show_price'] && ! $this->_tpl_vars['PS_CATALOG_MODE']): ?><span class="discount"><?php echo smartyTranslate(array('s' => 'Reduced price!'), $this);?>
</span><?php endif; ?>
				<?php if (isset ( $this->_tpl_vars['product']['online_only'] ) && $this->_tpl_vars['product']['online_only']): ?><span class="online_only"><?php echo smartyTranslate(array('s' => 'Online only!'), $this);?>
</span><?php endif; ?>
				<?php if (( ! $this->_tpl_vars['PS_CATALOG_MODE'] && ( ( isset ( $this->_tpl_vars['product']['show_price'] ) && $this->_tpl_vars['product']['show_price'] ) || ( isset ( $this->_tpl_vars['product']['available_for_order'] ) && $this->_tpl_vars['product']['available_for_order'] ) ) )): ?>
				<div>
					<?php if (isset ( $this->_tpl_vars['product']['show_price'] ) && $this->_tpl_vars['product']['show_price'] && ! isset ( $this->_tpl_vars['restricted_country_mode'] )): ?><span class="price" style="display: inline;"><?php if (! $this->_tpl_vars['priceDisplay']): ?><?php echo Product::convertPrice(array('price' => $this->_tpl_vars['product']['price']), $this);?>
<?php else: ?><?php echo Product::convertPrice(array('price' => $this->_tpl_vars['product']['price_tax_exc']), $this);?>
<?php endif; ?></span><br /><?php endif; ?>
					<?php if (isset ( $this->_tpl_vars['product']['available_for_order'] ) && $this->_tpl_vars['product']['available_for_order'] && ! isset ( $this->_tpl_vars['restricted_country_mode'] )): ?><span class="availability"><?php if (( $this->_tpl_vars['product']['allow_oosp'] || $this->_tpl_vars['product']['quantity'] > 0 )): ?><?php echo smartyTranslate(array('s' => 'Available'), $this);?>
<?php elseif (( isset ( $this->_tpl_vars['product']['quantity_all_versions'] ) && $this->_tpl_vars['product']['quantity_all_versions'] > 0 )): ?><?php echo smartyTranslate(array('s' => 'Product available with different options'), $this);?>
<?php else: ?><?php echo smartyTranslate(array('s' => 'Out of stock'), $this);?>
<?php endif; ?></span><?php endif; ?>
				</div>
				<?php endif; ?>
				<?php if (( $this->_tpl_vars['product']['id_product_attribute'] == 0 || ( isset ( $this->_tpl_vars['add_prod_display'] ) && ( $this->_tpl_vars['add_prod_display'] == 1 ) ) ) && $this->_tpl_vars['product']['available_for_order'] && ! isset ( $this->_tpl_vars['restricted_country_mode'] ) && $this->_tpl_vars['product']['minimal_quantity'] <= 1 && $this->_tpl_vars['product']['customizable'] != 2 && ! $this->_tpl_vars['PS_CATALOG_MODE']): ?>
					<?php if (( $this->_tpl_vars['product']['allow_oosp'] || $this->_tpl_vars['product']['quantity'] > 0 )): ?>
						<a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['id_product'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
" href="<?php echo $this->_tpl_vars['link']->getPageLink('cart.php'); ?>
?add&amp;id_product=<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['id_product'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
<?php if (isset ( $this->_tpl_vars['static_token'] )): ?>&amp;token=<?php echo $this->_tpl_vars['static_token']; ?>
<?php endif; ?>" title="<?php echo smartyTranslate(array('s' => 'Add to cart'), $this);?>
"><?php echo smartyTranslate(array('s' => 'Add to cart'), $this);?>
</a>
					<?php else: ?>
							<span class="exclusive"><?php echo smartyTranslate(array('s' => 'Add to cart'), $this);?>
</span>
					<?php endif; ?>
				<?php endif; ?>
				<a class="button" href="<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['link'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
" title="<?php echo smartyTranslate(array('s' => 'View'), $this);?>
"><?php echo smartyTranslate(array('s' => 'View'), $this);?>
</a>
				<?php if (isset ( $this->_tpl_vars['comparator_max_item'] ) && $this->_tpl_vars['comparator_max_item']): ?>
					<p class="compare"><input type="checkbox" class="comparator" id="comparator_item_<?php echo $this->_tpl_vars['product']['id_product']; ?>
" value="comparator_item_<?php echo $this->_tpl_vars['product']['id_product']; ?>
" <?php if (isset ( $this->_tpl_vars['compareProducts'] ) && in_array ( $this->_tpl_vars['product']['id_product'] , $this->_tpl_vars['compareProducts'] )): ?>checked<?php endif; ?>/> <label for="comparator_item_<?php echo $this->_tpl_vars['product']['id_product']; ?>
"><?php echo smartyTranslate(array('s' => 'Select to compare'), $this);?>
</label></p>
				<?php endif; ?>
			</div>
		</li>
	<?php endforeach; endif; unset($_from); ?>
	</ul>
	<!-- /Products list -->
<?php endif; ?>